package com.info.zhiduoduo.admin.model.formbean.entrust;

import com.info.zhiduoduo.common.validator.IntIn;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class EditEntrustProjectInvoiceFormBean {

	/** 发票类型 1： 发票 */
	public static final int ZDD_INVOICE = 1;
	/** 发票类型 2：众包发票 */
	public static final int CROWDSOURCE_INVOICE =2;
	/** 发票类型 3：众包成本发票 */
	public static final int CROWDSOURCE_COST_INVOICE = 3;


	@ApiModelProperty("发票ids，逗号分割")
	private String ids;

	@IntIn(value = {1,2,3}, message = "请选择正确的发票类型")
	@ApiModelProperty("发票类型 1： 发票 2：众包发票 3：众包成本发票")
	private int type;

	@ApiModelProperty("项目名")
	private String name;

	@ApiModelProperty("项目内容")
	private String content;

	@ApiModelProperty("发票内容")
	private String invoiceContent;

	@ApiModelProperty("项目分类ID")
	private Integer categoryid;

}
